package com.scs.application.modules.upms.dto;

import com.scs.application.core.mvc.validation.constraints.Mobile;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * @Description: MobileSendVerifyCodeDTO
 **/
@Data
@Accessors(chain = true)
public class MobileSendVerifyCodeDTO extends LoginSendVerifyCodeDTO {
    /**
     * 手机号
     */
    @NotBlank(message = "手机号不能为空")
    @Mobile(message = "手机号格式错误")
    public String mobile;
}
